
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置GateRecord的AutoMapper
    /// </summary>
	internal static class GateRecordMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <GateRecord,GateRecordListDto>();
            configuration.CreateMap <GateRecordListDto,GateRecord>();

            configuration.CreateMap <GateRecordEditDto,GateRecord>();
            configuration.CreateMap <GateRecord,GateRecordEditDto>();

        }
	}
}
